package cn.hxzy.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author niuyi
 * @since 2024-06-22
 */
@Getter
@Setter
@TableName("sys_direction")
@ApiModel(value = "Direction对象", description = "")
public class Direction implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("专业方向编号")
    @TableId(value = "direction_id", type = IdType.AUTO)
    private Integer directionId;

    @ApiModelProperty("专业方向名称")
    private String directionName;

    @Override
    public String toString() {
        return "Direction{" +
                "directionId=" + directionId +
                ", directionName='" + directionName + '\'' +
                '}';
    }
}
